package com.abc.fast.server.user.controller;

import com.abc.fast.common.domain.vo.resp.ApiResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "测试接口")
@RestController
@RequestMapping("/test")
public class TestController {

    @ApiOperation("用户测试")
    @GetMapping("/user")
    public ApiResult testUser(){
        return ApiResult.success();
    }

    @ApiOperation("管理员测试")
    @GetMapping("/admin")
    public ApiResult testAdmin(){
        return ApiResult.success();
    }


}
